<h1>Executar Filtro</h1>

<div id="users-contain" class="ui-widget">
	<form name="form_executar_sql" action="<?php echo site_url() ?>/relatorio/executar_filtro" method="POST">
		<input type="hidden" name="id_relatorio" value="<?php echo $relatorio->rl_id ?>" />
		<table class="ui-widget ui-widget-content formulario">
		<tbody>
		  	<tr>
		    	<td width="250">SQL:</td>
		    	<td><textarea name="txt_sql" cols="80" rows="10" readonly="readonly" value=""><?php echo $relatorio->rl_sql ?></textarea></td>
		  	</tr>
		</tbody>
		</table>

		<?php echo $layout_relatorio ?>

		<table>
			<tr>
				<td><button type="submit">Executar</button></td>
			</tr>

		</table>

	</form>

</div>